inherited FRelatorioPosicaoEstoque: TFRelatorioPosicaoEstoque
  Left = 190
  Top = 143
  Width = 965
  Height = 770
  Caption = 'ESTOQUE /  RELAT'#211'RIOS'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited Panel1: TPanel
    Width = 957
  end
  inherited Panel2: TPanel
    Width = 957
    Caption = 'POSI'#199#195'O DO ESTOQUE'
    ParentFont = False
  end
  inherited GroupBox1: TGroupBox
    Width = 567
    Height = 361
    object Label10: TLabel
      Left = 9
      Top = 20
      Width = 71
      Height = 16
      Caption = 'Empresas'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'MS Sans Serif'
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label3: TLabel
      Left = 9
      Top = 81
      Width = 123
      Height = 16
      Caption = 'Grupo do Produto'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'MS Sans Serif'
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label4: TLabel
      Left = 252
      Top = 81
      Width = 175
      Height = 16
      Caption = 'Classifica'#231#227'o do Produto'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'MS Sans Serif'
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label6: TLabel
      Left = 9
      Top = 177
      Width = 109
      Height = 16
      Caption = 'Local \ Estoque'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'MS Sans Serif'
      Font.Style = [fsBold]
      ParentFont = False
    end
    object CLBEmpresas: TCheckListBox
      Left = 9
      Top = 39
      Width = 544
      Height = 36
      Columns = 1
      ItemHeight = 16
      TabOrder = 0
    end
    object DBLGrupoProduto: TDBLookupComboBox
      Left = 9
      Top = 98
      Width = 237
      Height = 22
      Ctl3D = False
      KeyField = 'GRUP_PROD_CODIGO'
      ListField = 'GRUP_PROD_DESCRICAO'
      ListSource = DSGrupoProduto
      ParentCtl3D = False
      TabOrder = 1
      OnKeyDown = DBLGrupoProdutoKeyDown
    end
    object DBLCBNivel1: TDBLookupComboBox
      Left = 252
      Top = 98
      Width = 302
      Height = 22
      Ctl3D = False
      KeyField = 'ESTRUTURA'
      ListField = 'CLASS_PROD_DESCRICAO'
      ListSource = DSNivel1
      ParentCtl3D = False
      TabOrder = 2
      OnKeyDown = DBLCBNivel1KeyDown
    end
    object DBLLocalEsoque: TDBLookupComboBox
      Left = 9
      Top = 194
      Width = 237
      Height = 22
      Ctl3D = False
      KeyField = 'LOC_CODIGO'
      ListField = 'LOC_DESCRICAO'
      ListSource = DsLocalEstoque
      ParentCtl3D = False
      TabOrder = 3
      OnKeyDown = DBLLocalEsoqueKeyDown
    end
    object GBMovimentacao: TGroupBox
      Left = 9
      Top = 223
      Width = 237
      Height = 70
      Caption = '  Produtos Movimentados:  '
      TabOrder = 4
      object cbCQtd: TCheckBox
        Left = 10
        Top = 20
        Width = 159
        Height = 21
        Caption = 'Com Quantidade'
        Checked = True
        State = cbChecked
        TabOrder = 0
        OnClick = cbCQtdClick
      end
      object cbSQtd: TCheckBox
        Left = 10
        Top = 39
        Width = 119
        Height = 21
        Caption = 'Sem Quantidade'
        TabOrder = 1
        OnClick = cbSQtdClick
      end
    end
    object cbSMov: TCheckBox
      Left = 9
      Top = 333
      Width = 238
      Height = 21
      Caption = 'Produtos Sem Movimenta'#231#227'o'
      TabOrder = 5
      OnClick = cbSMovClick
    end
    object GroupBox8: TGroupBox
      Left = 9
      Top = 124
      Width = 160
      Height = 46
      Caption = ' Situa'#231#227'o '
      TabOrder = 6
      object CbSitAtivo: TCheckBox
        Left = 8
        Top = 21
        Width = 57
        Height = 17
        Caption = 'Ativos'
        TabOrder = 0
      end
      object CbSitInativo: TCheckBox
        Left = 80
        Top = 21
        Width = 73
        Height = 17
        Caption = 'Inativos'
        TabOrder = 1
      end
    end
  end
  inherited GroupBox2: TGroupBox
    Left = 566
    Width = 287
    Height = 361
    inherited Bevel1: TBevel
      Top = 280
      Width = 358
    end
    inherited Label2: TLabel
      Top = 264
    end
    object Label5: TLabel [3]
      Left = 10
      Top = 214
      Width = 141
      Height = 16
      Caption = 'Posi'#231#227'o do Estoque'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'MS Sans Serif'
      Font.Style = [fsBold]
      ParentFont = False
    end
    inherited edSubTitulo: TEdit
      Width = 241
    end
    inherited rbRelatorio: TRadioButton
      Top = 288
      TabOrder = 3
    end
    inherited rbExcel: TRadioButton
      Top = 304
      TabOrder = 4
    end
    inherited rbPDF: TRadioButton
      Top = 320
      TabOrder = 5
    end
    inherited btnExecutar: TBitBtn
      Left = 190
      TabOrder = 6
    end
    object GBAgrupar: TGroupBox
      Left = 10
      Top = 54
      Width = 188
      Height = 64
      Caption = '  Agrupar por  '
      TabOrder = 1
      object RBGrupoProduto: TRadioButton
        Left = 10
        Top = 17
        Width = 139
        Height = 21
        Caption = 'Grupo do Produto'
        Checked = True
        TabOrder = 0
        TabStop = True
        OnClick = RBGrupoProdutoClick
      end
      object RBClassificacaoProduto: TRadioButton
        Left = 10
        Top = 37
        Width = 171
        Height = 21
        Caption = 'Classifica'#231#227'o do Produto'
        TabOrder = 1
        OnClick = RBClassificacaoProdutoClick
      end
    end
    object GBOrdernar: TGroupBox
      Left = 10
      Top = 122
      Width = 188
      Height = 92
      Caption = '  Ordernar por  '
      TabOrder = 2
      object RBCodigoProduto: TRadioButton
        Left = 10
        Top = 17
        Width = 139
        Height = 21
        Caption = 'C'#243'digo do Produto'
        TabOrder = 0
        OnClick = RBCodigoProdutoClick
      end
      object RBReferenciaProduto: TRadioButton
        Left = 10
        Top = 33
        Width = 154
        Height = 21
        Caption = 'Refer'#234'ncia do Produto'
        TabOrder = 1
        OnClick = RBReferenciaProdutoClick
      end
      object RBDescricaoProduto: TRadioButton
        Left = 10
        Top = 49
        Width = 154
        Height = 21
        Caption = 'Descri'#231#227'o do Produto'
        TabOrder = 2
        OnClick = RBDescricaoProdutoClick
      end
      object rbValor: TRadioButton
        Left = 10
        Top = 65
        Width = 154
        Height = 21
        Caption = 'Valor'
        Checked = True
        TabOrder = 3
        TabStop = True
        OnClick = RBDescricaoProdutoClick
      end
    end
    object DTDataPosicaoEstoque: TDateEdit
      Left = 10
      Top = 233
      Width = 143
      Height = 25
      ButtonWidth = 26
      NumGlyphs = 2
      TabOrder = 7
    end
  end
  inherited RLReport: TRLReport
    Left = 27
    Top = 467
    DataSource = DSPesquisa
    Margins.LeftMargin = 5.000000000000000000
    Margins.RightMargin = 5.000000000000000000
    inherited RLBand1: TRLBand
      Left = 19
      Width = 756
      Height = 78
      Borders.FixedBottom = True
      inherited rlname: TRLLabel
        BeforePrint = rlnameBeforePrint
      end
      inherited RLMemo: TRLMemo
        Top = 31
        Height = 45
      end
    end
    object RLBand2: TRLBand
      Left = 19
      Top = 116
      Width = 756
      Height = 42
      BandType = btColumnHeader
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = False
      Borders.DrawRight = False
      Borders.DrawBottom = True
      Borders.FixedBottom = True
      object RLLabel2: TRLLabel
        Left = 1
        Top = 20
        Width = 42
        Height = 14
        AutoSize = False
        Caption = 'C'#243'digo'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel3: TRLLabel
        Left = 46
        Top = 20
        Width = 62
        Height = 14
        Caption = 'Refer'#234'ncia'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel4: TRLLabel
        Left = 140
        Top = 20
        Width = 57
        Height = 14
        Caption = 'Descri'#231#227'o'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel5: TRLLabel
        Left = 535
        Top = 20
        Width = 24
        Height = 14
        Caption = 'UND'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel6: TRLLabel
        Left = 568
        Top = 20
        Width = 60
        Height = 17
        Alignment = taCenter
        AutoSize = False
        Caption = 'Qtd'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel7: TRLLabel
        Left = 630
        Top = 20
        Width = 59
        Height = 17
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'C.M'#233'dio'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel8: TRLLabel
        Left = 692
        Top = 20
        Width = 60
        Height = 17
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'C.M'#233'dio'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel1: TRLLabel
        Left = 630
        Top = 0
        Width = 59
        Height = 17
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Vr.Unit'#225'rio'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel9: TRLLabel
        Left = 692
        Top = 0
        Width = 60
        Height = 17
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Vr.Total'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel31: TRLLabel
        Left = 468
        Top = 0
        Width = 64
        Height = 17
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Pre'#231'o'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel32: TRLLabel
        Left = 468
        Top = 20
        Width = 64
        Height = 17
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Venda'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
    end
    object RLGroup1: TRLGroup
      Left = 19
      Top = 158
      Width = 756
      Height = 81
      DataFields = 'GRUP_PROD_DESCRICAO'
      object RLBand3: TRLBand
        Left = 0
        Top = 0
        Width = 756
        Height = 23
        BandType = btColumnHeader
        object RLDBText2: TRLDBText
          Left = 1
          Top = 4
          Width = 135
          Height = 14
          DataField = 'GRUP_PROD_DESCRICAO'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
          BeforePrint = RLDBText2BeforePrint
        end
      end
      object RLBand4: TRLBand
        Left = 0
        Top = 23
        Width = 756
        Height = 19
        object RLDBText3: TRLDBText
          Left = 1
          Top = 2
          Width = 42
          Height = 15
          Alignment = taCenter
          AutoSize = False
          DataField = 'PROD_CODIGO'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText4: TRLDBText
          Left = 46
          Top = 2
          Width = 92
          Height = 15
          AutoSize = False
          DataField = 'PROD_REFERENCIA'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText5: TRLDBText
          Left = 140
          Top = 2
          Width = 325
          Height = 15
          AutoSize = False
          DataField = 'PROD_DESCRICAOENT'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText6: TRLDBText
          Left = 535
          Top = 2
          Width = 32
          Height = 15
          Alignment = taCenter
          AutoSize = False
          DataField = 'PROD_UNIDSAIDA'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText7: TRLDBText
          Left = 568
          Top = 2
          Width = 60
          Height = 15
          Alignment = taCenter
          AutoSize = False
          DataField = 'SAL_EST_QUANTIDADEEST'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText8: TRLDBText
          Left = 630
          Top = 2
          Width = 59
          Height = 15
          Alignment = taRightJustify
          AutoSize = False
          DataField = 'SAL_EST_CUSTOMEDIOUNIT'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
          BeforePrint = RLDBText8BeforePrint
        end
        object RLDBText9: TRLDBText
          Left = 692
          Top = 2
          Width = 60
          Height = 15
          Alignment = taRightJustify
          AutoSize = False
          DataField = 'SAL_EST_CUSTOMEDIOTOTAL'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
          BeforePrint = RLDBText9BeforePrint
        end
        object RLDBText22: TRLDBText
          Left = 468
          Top = 2
          Width = 64
          Height = 15
          Alignment = taRightJustify
          AutoSize = False
          DataField = 'PRECO_VENDA'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
          BeforePrint = RLDBText21BeforePrint
        end
      end
      object RLBand5: TRLBand
        Left = 0
        Top = 42
        Width = 756
        Height = 24
        BandType = btSummary
        object RLLabel12: TRLLabel
          Left = 231
          Top = 5
          Width = 56
          Height = 16
          Caption = 'Subtotal:'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
          BeforePrint = RLLabel12BeforePrint
        end
        object RLDBResult1: TRLDBResult
          Left = 569
          Top = 5
          Width = 60
          Height = 17
          Alignment = taCenter
          AutoSize = False
          DataField = 'SAL_EST_QUANTIDADEEST'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          Info = riSum
          ParentFont = False
          BeforePrint = RLDBResult1BeforePrint
        end
        object RLDBResult2: TRLDBResult
          Left = 656
          Top = 5
          Width = 96
          Height = 17
          Alignment = taRightJustify
          AutoSize = False
          DataField = 'SAL_EST_CUSTOMEDIOTOTAL'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          Info = riSum
          ParentFont = False
          BeforePrint = RLDBResult2BeforePrint
        end
        object RLLabel11: TRLLabel
          Left = 162
          Top = -9
          Width = 636
          Height = 16
          Caption = 
            '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' +
            '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' +
            '- - - - - - - - - - - - - - - '
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
        end
      end
    end
    object RLBand6: TRLBand
      Left = 19
      Top = 239
      Width = 756
      Height = 22
      BandType = btSummary
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = True
      Borders.DrawRight = False
      Borders.DrawBottom = False
      object RLLabel13: TRLLabel
        Left = 216
        Top = 2
        Width = 71
        Height = 16
        Alignment = taRightJustify
        Caption = 'Total Geral:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBResult3: TRLDBResult
        Left = 568
        Top = 2
        Width = 62
        Height = 14
        Alignment = taRightJustify
        AutoSize = False
        DataField = 'SAL_EST_QUANTIDADEEST'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = []
        Info = riSum
        ParentFont = False
        BeforePrint = RLDBResult3BeforePrint
      end
      object RLDBResult4: TRLDBResult
        Left = 656
        Top = 2
        Width = 96
        Height = 18
        Alignment = taRightJustify
        AutoSize = False
        DataField = 'SAL_EST_CUSTOMEDIOTOTAL'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = []
        Info = riSum
        ParentFont = False
        BeforePrint = RLDBResult4BeforePrint
      end
    end
  end
  object RLReportPorClassificacao: TRLReport [5]
    Left = -230
    Top = 540
    Width = 794
    Height = 1123
    DataSource = DSPesquisa
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clBlack
    Font.Height = -16
    Font.Name = 'Arial'
    Font.Style = []
    Margins.LeftMargin = 5.000000000000000000
    Margins.RightMargin = 5.000000000000000000
    object RLBand7: TRLBand
      Left = 19
      Top = 38
      Width = 756
      Height = 81
      BandType = btHeader
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = False
      Borders.DrawRight = False
      Borders.DrawBottom = True
      Borders.FixedBottom = True
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      BeforePrint = RLBand7BeforePrint
      object RlEmpresaPorClassificacao: TRLLabel
        Left = 2
        Top = 2
        Width = 88
        Height = 16
        Caption = '                     '
      end
      object RlSisLocalPorClassificacao: TRLLabel
        Left = 2
        Top = 21
        Width = 163
        Height = 16
      end
      object RlNamePorClassificacao: TRLLabel
        Left = 2
        Top = 39
        Width = 159
        Height = 16
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
        BeforePrint = rlnameBeforePrint
      end
      object RLDBText10: TRLDBText
        Left = 620
        Top = 158
        Width = 77
        Height = 16
      end
      object rlSubTituloPorClassificacao: TRLLabel
        Left = 2
        Top = 58
        Width = 88
        Height = 16
        Caption = '                     '
      end
      object RLMemoPorClassificacao: TRLMemo
        Left = 492
        Top = 39
        Width = 386
        Height = 16
      end
      object RLSystemInfo2: TRLSystemInfo
        Left = 723
        Top = 2
        Width = 135
        Height = 16
        Alignment = taRightJustify
        Info = itPageNumber
        Text = 'P'#225'gina: '
      end
      object RlInfoPorClassificacao: TRLLabel
        Left = 492
        Top = 2
        Width = 133
        Height = 16
      end
      object RLSystemInfo3: TRLSystemInfo
        Left = 858
        Top = 2
        Width = 120
        Height = 16
        Info = itLastPageNumber
        Text = '/ '
      end
    end
    object RLBand8: TRLBand
      Left = 19
      Top = 119
      Width = 756
      Height = 42
      BandType = btColumnHeader
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = False
      Borders.DrawRight = False
      Borders.DrawBottom = True
      Borders.FixedBottom = True
      object RLLabel10: TRLLabel
        Left = 1
        Top = 20
        Width = 40
        Height = 14
        AutoSize = False
        Caption = 'C'#243'digo'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel14: TRLLabel
        Left = 43
        Top = 20
        Width = 62
        Height = 14
        Caption = 'Refer'#234'ncia'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel15: TRLLabel
        Left = 137
        Top = 20
        Width = 57
        Height = 14
        Caption = 'Descri'#231#227'o'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel16: TRLLabel
        Left = 528
        Top = 20
        Width = 32
        Height = 14
        AutoSize = False
        Caption = 'UND'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel17: TRLLabel
        Left = 562
        Top = 20
        Width = 46
        Height = 17
        Alignment = taCenter
        AutoSize = False
        Caption = 'Qtd'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel18: TRLLabel
        Left = 610
        Top = 20
        Width = 65
        Height = 17
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Custo M'#233'dio'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel19: TRLLabel
        Left = 678
        Top = 20
        Width = 74
        Height = 17
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Custo M'#233'dio'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel20: TRLLabel
        Left = 610
        Top = 0
        Width = 65
        Height = 17
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Valor Unit'#225'rio'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel21: TRLLabel
        Left = 678
        Top = 0
        Width = 74
        Height = 17
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Valor Total'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel29: TRLLabel
        Left = 461
        Top = 0
        Width = 65
        Height = 17
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Pre'#231'o'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel30: TRLLabel
        Left = 461
        Top = 20
        Width = 65
        Height = 17
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Venda'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
    end
    object RLGroup2: TRLGroup
      Left = 19
      Top = 161
      Width = 756
      Height = 197
      DataFields = 'CLASS_1'
      object RLBand9: TRLBand
        Left = 0
        Top = 0
        Width = 756
        Height = 23
        BandType = btColumnHeader
        object RLDBText11: TRLDBText
          Left = 1
          Top = 4
          Width = 52
          Height = 14
          DataField = 'CLASS_1'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
          BeforePrint = RLDBText11BeforePrint
        end
      end
      object RLGroup3: TRLGroup
        Left = 0
        Top = 23
        Width = 756
        Height = 141
        DataFields = 'CLASS_2'
        object RLBand10: TRLBand
          Left = 0
          Top = 0
          Width = 756
          Height = 23
          BandType = btColumnHeader
          Visible = False
          object RLDBText12: TRLDBText
            Left = 55
            Top = 4
            Width = 52
            Height = 14
            DataField = 'CLASS_2'
            DataSource = DSPesquisa
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -11
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            ParentFont = False
            BeforePrint = RLDBText12BeforePrint
          end
        end
        object RLGroup4: TRLGroup
          Left = 0
          Top = 23
          Width = 756
          Height = 83
          DataFields = 'CLASS_3'
          object RLBand12: TRLBand
            Left = 0
            Top = 48
            Width = 756
            Height = 32
            BandType = btSummary
            object RLLabel22: TRLLabel
              Left = 203
              Top = -7
              Width = 636
              Height = 16
              Caption = 
                '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' +
                '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' +
                '- - - - - - - - - - - - - - - '
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              ParentFont = False
            end
            object RLLabel23: TRLLabel
              Left = 207
              Top = 10
              Width = 51
              Height = 14
              Caption = 'Subtotal:'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              ParentFont = False
              BeforePrint = RLLabel23BeforePrint
            end
            object RLDBResult5: TRLDBResult
              Left = 544
              Top = 10
              Width = 64
              Height = 17
              Alignment = taCenter
              AutoSize = False
              DataField = 'SAL_EST_QUANTIDADEEST'
              DataSource = DSPesquisa
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              Info = riSum
              ParentFont = False
              BeforePrint = RLDBResult1BeforePrint
            end
            object RLDBResult6: TRLDBResult
              Left = 656
              Top = 10
              Width = 96
              Height = 17
              Alignment = taRightJustify
              AutoSize = False
              DataField = 'SAL_EST_CUSTOMEDIOTOTAL'
              DataSource = DSPesquisa
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              Info = riSum
              ParentFont = False
              BeforePrint = RLDBResult2BeforePrint
            end
          end
          object RLBand11: TRLBand
            Left = 0
            Top = 23
            Width = 756
            Height = 25
            object RLDBText13: TRLDBText
              Left = 1
              Top = 4
              Width = 40
              Height = 17
              Alignment = taCenter
              AutoSize = False
              DataField = 'PROD_CODIGO'
              DataSource = DSPesquisa
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              ParentFont = False
            end
            object RLDBText14: TRLDBText
              Left = 43
              Top = 4
              Width = 92
              Height = 17
              AutoSize = False
              DataField = 'PROD_REFERENCIA'
              DataSource = DSPesquisa
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              ParentFont = False
            end
            object RLDBText15: TRLDBText
              Left = 137
              Top = 4
              Width = 320
              Height = 17
              AutoSize = False
              DataField = 'PROD_DESCRICAOENT'
              DataSource = DSPesquisa
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              ParentFont = False
            end
            object RLDBText16: TRLDBText
              Left = 528
              Top = 4
              Width = 32
              Height = 17
              Alignment = taCenter
              AutoSize = False
              DataField = 'PROD_UNIDSAIDA'
              DataSource = DSPesquisa
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              ParentFont = False
            end
            object RLDBText17: TRLDBText
              Left = 562
              Top = 4
              Width = 46
              Height = 17
              Alignment = taCenter
              AutoSize = False
              DataField = 'SAL_EST_QUANTIDADEEST'
              DataSource = DSPesquisa
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              ParentFont = False
            end
            object RLDBText18: TRLDBText
              Left = 610
              Top = 4
              Width = 65
              Height = 17
              Alignment = taRightJustify
              AutoSize = False
              DataField = 'SAL_EST_CUSTOMEDIOUNIT'
              DataSource = DSPesquisa
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = []
              ParentFont = False
              BeforePrint = RLDBText8BeforePrint
            end
            object RLDBText19: TRLDBText
              Left = 678
              Top = 4
              Width = 74
              Height = 17
              Alignment = taRightJustify
              AutoSize = False
              DataField = 'SAL_EST_CUSTOMEDIOTOTAL'
              DataSource = DSPesquisa
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              ParentFont = False
              BeforePrint = RLDBText9BeforePrint
            end
            object RLDBText21: TRLDBText
              Left = 461
              Top = 4
              Width = 65
              Height = 17
              Alignment = taRightJustify
              AutoSize = False
              DataField = 'PRECO_VENDA'
              DataSource = DSPesquisa
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              ParentFont = False
              BeforePrint = RLDBText21BeforePrint
            end
          end
          object RLBand15: TRLBand
            Left = 0
            Top = 0
            Width = 756
            Height = 23
            BandType = btColumnHeader
            Visible = False
            object RLDBText20: TRLDBText
              Left = 105
              Top = 4
              Width = 52
              Height = 14
              DataField = 'CLASS_3'
              DataSource = DSPesquisa
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              ParentFont = False
              BeforePrint = RLDBText20BeforePrint
            end
          end
        end
        object RLBand16: TRLBand
          Left = 0
          Top = 106
          Width = 756
          Height = 32
          BandType = btSummary
          object RLLabel28: TRLLabel
            Left = 207
            Top = 10
            Width = 51
            Height = 14
            Caption = 'Subtotal:'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -11
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            ParentFont = False
            BeforePrint = RLLabel28BeforePrint
          end
          object RLDBResult11: TRLDBResult
            Left = 544
            Top = 10
            Width = 64
            Height = 17
            Alignment = taCenter
            AutoSize = False
            DataField = 'SAL_EST_QUANTIDADEEST'
            DataSource = DSPesquisa
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -11
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            Info = riSum
            ParentFont = False
            BeforePrint = RLDBResult1BeforePrint
          end
          object RLDBResult12: TRLDBResult
            Left = 656
            Top = 10
            Width = 96
            Height = 17
            Alignment = taRightJustify
            AutoSize = False
            DataField = 'SAL_EST_CUSTOMEDIOTOTAL'
            DataSource = DSPesquisa
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -11
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            Info = riSum
            ParentFont = False
            BeforePrint = RLDBResult2BeforePrint
          end
          object RLLabel24: TRLLabel
            Left = 199
            Top = -7
            Width = 636
            Height = 16
            Caption = 
              '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' +
              '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' +
              '- - - - - - - - - - - - - - - '
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            ParentFont = False
          end
        end
      end
      object RLBand13: TRLBand
        Left = 0
        Top = 164
        Width = 756
        Height = 32
        BandType = btSummary
        object RLLabel25: TRLLabel
          Left = 207
          Top = 10
          Width = 51
          Height = 14
          Caption = 'Subtotal:'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
          BeforePrint = RLLabel25BeforePrint
        end
        object RLDBResult7: TRLDBResult
          Left = 544
          Top = 10
          Width = 64
          Height = 17
          Alignment = taCenter
          AutoSize = False
          DataField = 'SAL_EST_QUANTIDADEEST'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          Info = riSum
          ParentFont = False
          BeforePrint = RLDBResult1BeforePrint
        end
        object RLDBResult8: TRLDBResult
          Left = 656
          Top = 10
          Width = 96
          Height = 17
          Alignment = taRightJustify
          AutoSize = False
          DataField = 'SAL_EST_CUSTOMEDIOTOTAL'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          Info = riSum
          ParentFont = False
          BeforePrint = RLDBResult2BeforePrint
        end
        object RLLabel27: TRLLabel
          Left = 199
          Top = -7
          Width = 636
          Height = 16
          Caption = 
            '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' +
            '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' +
            '- - - - - - - - - - - - - - - '
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
        end
      end
    end
    object RLBand14: TRLBand
      Left = 19
      Top = 358
      Width = 756
      Height = 22
      BandType = btSummary
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = True
      Borders.DrawRight = False
      Borders.DrawBottom = False
      object RLLabel26: TRLLabel
        Left = 193
        Top = 2
        Width = 65
        Height = 14
        Alignment = taRightJustify
        Caption = 'Total Geral:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLDBResult9: TRLDBResult
        Left = 486
        Top = 2
        Width = 182
        Height = 14
        Alignment = taCenter
        DataField = 'SAL_EST_QUANTIDADEEST'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        Info = riSum
        ParentFont = False
        BeforePrint = RLDBResult3BeforePrint
      end
      object RLDBResult10: TRLDBResult
        Left = 656
        Top = 2
        Width = 96
        Height = 18
        Alignment = taRightJustify
        AutoSize = False
        DataField = 'SAL_EST_CUSTOMEDIOTOTAL'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        Info = riSum
        ParentFont = False
        BeforePrint = RLDBResult4BeforePrint
      end
    end
  end
  inherited QPesquisa: TQuery
    Top = 137
  end
  inherited DSPesquisa: TDataSource
    DataSet = CDSRelatorio
    Left = 344
    Top = 198
  end
  object DSGrupoProduto: TDataSource
    DataSet = DMGestao.QGrupProduto
    Left = 216
    Top = 88
  end
  object DSNivel1: TDataSource
    DataSet = QNivel1
    OnDataChange = DSNivel1DataChange
    Left = 128
    Top = 96
  end
  object DSNivel2: TDataSource
    DataSet = QNivel2
    OnDataChange = DSNivel2DataChange
    Left = 496
    Top = 192
  end
  object DSNivel3: TDataSource
    DataSet = QNivel3
    Left = 448
    Top = 184
  end
  object QNivel1: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT * FROM CLASSIFICACAOPRODUTO '
      ''
      'WHERE CLASS_PROD_NIVEL1 IS NULL AND '
      '              CLASS_PROD_NIVEL2 IS NULL'
      ''
      'ORDER BY CLASS_PROD_DESCRICAO')
    Left = 152
    Top = 72
  end
  object QNivel2: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT * FROM CLASSIFICACAOPRODUTO '
      'WHERE CLASS_PROD_NIVEL1 = :CLASS_PROD_CODIGO AND '
      '              CLASS_PROD_NIVEL2 IS NULL'
      'ORDER BY CLASS_PROD_DESCRICAO')
    Left = 440
    Top = 144
    ParamData = <
      item
        DataType = ftInteger
        Name = 'CLASS_PROD_CODIGO'
        ParamType = ptUnknown
        Size = 4
      end>
  end
  object QNivel3: TQuery
    DatabaseName = 'base'
    Left = 496
    Top = 152
  end
  object DsLocalEstoque: TDataSource
    DataSet = DMGestao.QLocal
    Left = 96
    Top = 336
  end
  object CDSRelatorio: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 96
    Top = 96
  end
end
